package net.sourceforge.peertwitter.core;

import java.util.Set;

import rice.p2p.commonapi.Id;
import rice.p2p.commonapi.NodeHandle;
import rice.p2p.past.ContentHashPastContent;

public class SwarmView extends ContentHashPastContent {

	private final Set<NodeHandle> nodes;
	private static final long serialVersionUID = 563416375721619971L;

	public SwarmView(Id myId, Set<NodeHandle>nodes) {
		super(myId);
		this.nodes = nodes;
	}
	
	public Set<NodeHandle> getNodes() {
		return this.nodes;
	}

	@Override
	public boolean isMutable() {
		return true;
	}
	
}
